package com.blockmeta.bbs.businesslibrary.eventbus;

import androidx.annotation.IntDef;

/**
 * Created by AirThor
 * Date 2018/2/6.
 */

public class XGPushEvent {
    public int pageNo;
    public String tid;
    public int tabNo;
    public int target;
    public static final int NEWS = 1;
    public static final int COMMUNITY =2;
    public static final int ACTIVITY = 3;
    public static final int IM = 4;
    @IntDef({NEWS,COMMUNITY,ACTIVITY,IM})
    public @interface TargetType{}

    public XGPushEvent(int pageNo, int tabNo, @TargetType int targetType, String tid) {
        this.pageNo = pageNo;
        this.tid=tid;
        this.tabNo = tabNo;
        this.target = targetType;
    }
}
